package team.archai.nexus.boot.auth.entity;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @program: tiny-dust-boot-build
 * @description: 认证token 请求参数
 * @author: lishibin
 * @create: 2021-03-15 13:49
 **/
@Getter
@Setter
@ToString
@Builder
public class AuthToken {
    /**
     * @Description: credential 认证凭据 密码
     * @Author: lishibin
     * @Date: 7/12/2020
     */
    private Object credential;

    /**
     * @program: JwtParam
     * @description: 账号
     * @author: lishibin
     * @create: 12:48 AM
     **/
    private String subject;

    /**
     * @program: JwtParam
     * @description: 过期时间 ms
     * @author: lishibin
     * @create: 12:48 AM
     **/
    private long exp;

    /**
     * @program: JwtParam
     * @description: 加密密钥
     * @author: lishibin
     * @create: 12:55 AM
     **/
    private String signKey;

    /**
     * @program: JwtParam
     * @description: 客户端初始化随机字符
     * @author: lishibin
     * @create: 20:11
     **/
    private String initialRandom;

    /**
     * @program: JwtParam
     * @description: 扩展信息
     * @author: lishibin
     * @create: 11:04
     **/
    private Object additional;
}
